package com.xtck.ha.fault.modules.convert;


import com.xtck.ha.fault.modules.pojo.entity.ModInfo;
import com.xtck.ha.fault.modules.pojo.vo.ModInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
* @Description: ModInfoConvert类
* @author liuyuan
* @date 2025-06-17
*/
@Mapper
public interface ModInfoConvert {
        ModInfoConvert INSTANCE = Mappers.getMapper(ModInfoConvert.class);

        ModInfoVO convert(ModInfo entity);

        ModInfo convert(ModInfoVO vo);

        List<ModInfoVO> convertList(List<ModInfo> list);

}